<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>

		<title>My JSP 'newBilling.jsp' starting page</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		 <link rel="stylesheet" type="text/css" href="/estate/css/css.css"></link>
		<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
		<script type="text/javascript" src="/estate/js/jquery-1.2.2.pack.js">
</script>
		<script type="text/javascript" src="/estate/js/json.js">
</script>
		<script type="text/javascript" src="/estate/js/jquery-1.3.min.js">
</script>
 <script type="text/javascript" src="/estate/js/calender.js "  ></script>
   <script type="text/javascript" src="/estate/js/lhgcore.js"></script>
	<script type="text/javascript" src="/estate/js/lhgcalendar.js"></script>
		<script type="text/javascript">
function catagoryChange() {
$.get(
		      'billingAction.action?method=json&proCatagory='+document.getElementById("proCatagory").value,
		     null,
		      function(data) //回传函数
		      { 
		      	 var list=eval('('+data+')');
		       var select=document.getElementById("proId");
		       select.options.length=0;
		       
		       　for(var i=0;i<list.length;i++){
		       var option=document.createElement("option");
				option.text=list[i].name;
		       option.value=list[i].id;
         		select.add(option);
 　　}
		      });
	}
</script>
	</head>

	<body>
	<table border="0" cellpadding="0" cellspacing="0" style="background-image:url(/estate/images/gtbg.gif) " width="100%">
    <tr>
      <td width="50%" height="82" rowspan="2"><img src="/estate/images/guide_01.gif"></td>
      <td width="50%" style="background-image:url(/estate/images/guide_02.gif);color:#cc1212; font-size:16px; font-weight:bold; text-align:right; padding-right:50px; letter-spacing:1px; " height="39"><strong>收款</strong></td>
    </tr>
     <tr><td width="50%" style="background-image:url(/estate/images/guide_03.gif); height:43px;" align="center" valign="middle">
	  <table width="50%" border="0" cellspacing="0" cellpadding="0">
        <tr align="center">
        </tr>
      </table></td>
    </tr>
</table><br>
	    <form action="chargeAction.action?method=update&modifyId=${modifyList.id}" method="post" >
    	<table width="60%" align="center" border="0" cellspacing="0" cellpadding="0" class="main">
    	<tr>
    	<td colspan="4" class="tableTitle">  收款 </td>
    	</tr>
  <tr>
    <td align="right" class="two" width="20%">发票编号：</td>
    <td align="left" class="two" width="40%"><label>${modifyList.billNum}</label></td>
    </tr>
     <tr>
    <td align="right" class="two" width="118">发票类型：</td>
    <td align="left" class="two" width="179"><label>${modifyList.billCatagory}</label></td>
  </tr>
  <tr>
    <td align="right" class="two">项目所属类别：</td>
    <td align="left" class="two"><label>${modifyList.proCatagoryName}</label></td>
    </tr>
     <tr>
    <td align="right" class="two">项目名称：</td>
    <td align="left" class="two"><label>${modifyList.proName}</label></td>
  </tr>
  <tr>
    <td align="right" class="two">开票金额（元）：</td>
    <td align="left" class="two"><label>${modifyList.billMoney}</label></td>
  </tr>
   <tr>
    <td align="right" class="two">开票人：</td>
    <td align="left" class="two"><label>${billUser.name}</label></td>
    </tr>
     <tr>
    <td align="right" class="two">开票日期：</td>
    <td align="left" class="two"><label>${modifyList.billDate}</label></td>
  </tr>
  <tr>
    <td align="right" class="two" width="151"><label style="color:red;">*(必填)</label>收款单据号：</td>
    <td align="left" class="two" width="173"><input class="input" type="text" name="cashNum" id="cashNum" /></td>
    </tr>
     <tr>
    <td align="right" class="two" width="118"><label style="color:red;">*(必填)</label>收款金额：</td>
    <td align="left" class="two" width="179"><input class="input" type="text" name="cashMoney" id="cashMoney" /></td>
  </tr>
  <tr>
   <td align="right" class="two"><label style="color:red;">*(必填)</label>收款人：</td>
    <td align="left" class="two"><select class="select" name="cashUserId" id="cashUserId">
    <c:forEach var="chargeUserSelect" items="${chargeUserSelect}">
    <option value="${chargeUserSelect.value}">${chargeUserSelect.key}</option>
  </c:forEach>
    </select></td>
    </tr>
     <tr>
    <td align="right" class="two"><label style="color:red;">*(必填)</label>收款日期：</td>
    <td align="left" class="two"><input class="select" type="text" name="cashDate" id="cashDate" onclick="J.calendar.get();" readonly="readonly"/></td>
  </tr>
 
  <tr>
  	<td align="center" class="two" colspan="2">
  	<input type="submit" name="submitButton" class="button4" id="submitButton" value="确认收款" />
	<input type="reset" name="resetButton" class="button2" id="resetButton" value="重置" />
	</td>
  </tr>
</table>
    </form>
		
		
	</body>
</html>
